package org.example.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * MQTT 属性配置
 *
 * @author Brant
 * @since 2025-04-21
 */
@Setter
@Getter
@Configuration
@ConfigurationProperties(prefix = "spring.mqtt")
public class MqttPropertiesConfig {
    private String username;
    private String password;
    private String url;
    private String subClientId;
    private String subTopic;
    private String pubClientId;
    private String pubTopic;
}